﻿using Abp.AutoMapper;
using Mt.Site.Core.AccessStatistics.Entities;
using System.Collections.Generic;

namespace Mt.Site.Application.AccessStatistics.Dto
{
    [AutoMapFrom(typeof(AccessData))]
    public class RealTimeDetailOut
    {
        public string OSFamily { get; set; }

        public string ISP { get; set; }

        public string Resolution { get; set; }

        public string ClientIp { get; set; }

        public string IsNewVisitor { get; set; }

        public string LastVisitTime { get; set; }

        public string SourceType { get; set; }

        public string RefererUrl { get; set; }

        public string CookieEnabled { get; set; }

        public string BrowserFamily { get; set; }

        public int FrequentVisits { get; set; }

        public string ColorDepth { get; set; }

        public string Acount { get; set; }

        public string Browser { get; set; }

        public List<VisitPathDetailDto> VisitPathDetails { get; set; }
    }

    public class VisitPathDetailDto
    {
        public string VisitTime { get; set; }

        public int StayLength { get; set; }

        public SourceType Source { get; set; }

        public string VisitUrl { get; set; }

        public string RefererUrl { get; set; }
    }

}
